package com.quwan.app.vo.dispatch;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author quan
 * @date 2022-05-26 17:14
 */
@Data
@Accessors(chain = true)
public class ServiceDispatchOrderDTO implements Serializable {

    private static final long serialVersionUID = 5318759314135157297L;
    @ApiModelProperty("派单id")
    private String id;
    @ApiModelProperty("日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime date;
    @ApiModelProperty("内容")
    private String content;
    @ApiModelProperty("价格")
    private String price;
    @ApiModelProperty("分类")
    private String category;
    @ApiModelProperty("派单用户id")
    private String memberId;
    @ApiModelProperty("派单用户昵称")
    private String nickname;
    @ApiModelProperty("派单用户地区")
    private String area;
    @ApiModelProperty("派单用户头像")
    private String memberImg;
    @ApiModelProperty("-1无效 0申请中 1进行中 2已完成 3取消")
    private  Integer status;

    private  String imgs;

    @ApiModelProperty("发单图片")
    private  List<String> images;

    @ApiModelProperty("-1 一口价 0小时")
    private String unit;
}
